<?php get_header(); ?>
<div id="main">
<?php get_template_part('top-widgets'); ?>
<div id="content">

<?php get_sidebar(); ?>

<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
         
        <div class="post" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <h1><?php the_title(); ?></h1>
         
            <div class="entry">   
                          <div class="thecontent"><?php the_content(); ?></div>
 
                 
            </div>
        </div>
        <?php endwhile; ?>
        <?php endif; ?>
     <?php get_template_part('pagination'); ?>
 
     </div> <!--end content-->  
<?php $thinlines_settings = get_option('thinlines-options'); ?>                   
<?php if( isset($thinlines_settings['comments']) && $thinlines_settings['comments'] == '1' ): ?>
<?php comments_template(); ?>
<?php endif; ?>
</div> <!--end main-->
<?php get_footer(); ?>
